package com.rzdata.poct.system.domain.business.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.rzdata.poct.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 【请填写功能名称】业务对象 poct_material_store
 *
 * @author ruoyi
 * @date 2021-09-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("【请填写功能名称】业务对象")
public class PoctMaterialStoreBo extends BaseEntity {

    /**
     *  主键
     */
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 入库编号
     */
    @ExcelProperty(value = "入库编号")
    @ApiModelProperty("入库编号")
    private String storeNo;

    /**
     * 耗材ID
     */
    @ExcelProperty(value = "耗材ID")
    @ApiModelProperty("耗材ID ")
    private String materialId;

    /**
     * 耗材名称
     */
    @ExcelProperty(value = "耗材名称")
    @ApiModelProperty("耗材名称")
    private String materialName;


    /**
     * 耗材类型
     */
    @ExcelProperty(value = "耗材类型")
    @ApiModelProperty("耗材类型")
    private Integer type;

    /**
     * 生产厂商
     */
    @ExcelProperty(value = "生产厂商")
    @ApiModelProperty("生产厂商")
    private String manufacturer;

    /**
     * 耗材批号
     */
    @ExcelProperty(value = "耗材批号")
    @ApiModelProperty("耗材批号")
    private String batchNo;


    /**
     * 入库数量
     */
    @ExcelProperty(value = "入库数量")
    @ApiModelProperty("入库数量")
    private Long count;

    /**
     * 失效日期
     */
    @ExcelProperty(value = "失效日期")
    @ApiModelProperty("失效日期")
    private Date expirationDate;

    /**
     * 入库时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "入库时间")
    @ApiModelProperty("入库时间")
    private Date manufacturingDate;

    /**
     * 接收者
     */
    @ExcelProperty(value = "接收者")
    @ApiModelProperty("接收者")
    private String receiver;


    /**
     * 入库科室
     */
    @ExcelProperty(value = "入库科室")
    @ApiModelProperty("入库科室")
    private String deptName;

    private Long pageSize;

    private Long pageNum;
}
